table filling method in toc